package cn.cs.mapper;

import cn.cs.pojo.RepairBbsType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface RepairBbsTypeMapper {

    public RepairBbsType getRepairBbsTypeById(@Param(value = "id") String id) throws Exception;

    public List<RepairBbsType> getRepairBbsTypeListByMap(Map<String, Object> param) throws Exception;

    public Integer getRepairBbsTypeCountByMap(Map<String, Object> param) throws Exception;

    public Integer insertRepairBbsType(RepairBbsType repairBbsType) throws Exception;

    public Integer updateRepairBbsType(RepairBbsType repairBbsType) throws Exception;

    public Integer deleteRepairBbsTypeById(@Param(value = "id") String id) throws Exception;

}
